import request from '@/utils/request';

// 理疗执行列表
export const executeList = params => request({
    url: '/business/execute/selectList',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 理疗执行关闭
export const executeClose = params => request({
    url: '/business/execute/close',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 理疗执行导出
export const executeExport = params => request({
    url: '/business/execute/export',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 理疗执行患者反馈
export const executeFeedback = params => request({
    url: '/business/execute/feedback',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 理疗执行详情
export const executeDetail = params => request({
    url: '/business/execute/getDetail',
    method: 'POST',
    params
});

// 理疗执行理疗
export const executePhysiotherapy = params => request({
    url: '/business/execute/physiotherapy',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 理疗执行主信息批量打印
export const executePrintBatch = params => request({
    url: '/business/execute/printBatch',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 理疗执行明细批量打印
export const executePrintDetailBatch = params => request({
    url: '/business/execute/printDetailBatch',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 推广理疗
export const spreadPhysiotherapy = params => request({
    url: '/business/execute/spreadPhysiotherapy',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
